import './assets/style/index.scss'

import 'virtual:svg-icons-register'  // svg图标插件

import 'element-plus/dist/index.css'  // element-plus有些样式丢失 
import 'vue-cesium/dist/index.css'  // vue-cesium样式

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { registerGlobalComponents } from "./components/global"

import "./permission"  // 权限控制

import App from './App.vue'
import router from './router'

const app = createApp(App)

registerGlobalComponents(app)  // 注册全局基础组件

app.use(createPinia())
app.use(router)

app.mount('#app')
